package com.ceres.device.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "t_customer_device")
public class CustomerDevice implements Serializable {

    @Id
    private Integer id;
    private Integer cid;
    private Integer did;
    private String code;
    private String name;
    private String type;
    private String brand;
    private String model;
    private String install;
    private String remarks;

    @Override
    public String toString() {
        return "CustomerDevice{" +
                "id=" + id +
                ", cid=" + cid +
                ", did=" + did +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", brand='" + brand + '\'' +
                ", model='" + model + '\'' +
                ", install='" + install + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }

    public CustomerDevice(Integer id, Integer cid, Integer did, String code, String name, String type, String brand, String model, String install, String remarks) {
        this.id = id;
        this.cid = cid;
        this.did = did;
        this.code = code;
        this.name = name;
        this.type = type;
        this.brand = brand;
        this.model = model;
        this.install = install;
        this.remarks = remarks;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }


    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }


    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }


    public String getInstall() {
        return install;
    }

    public void setInstall(String install) {
        this.install = install;
    }


    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

}
